package com.maozzi.api.mq.properties;

import com.maozzi.api.mq.constant.MqConstant;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * mq 额外配置
 *
 * @author maozi
 */
@Data
@ConfigurationProperties(prefix = MqConstant.MQ_PROPERTIES_PREFIX)
public class MqProperties {
    /**
     * 是否开启隔离
     */
    private boolean enableIsolation;

    /**
     * 后缀
     */
    private String suffix;
}
